from herschel.ia.gui.kernel import ExtensionRegistry
REGISTRY = ExtensionRegistry.getInstance();
REGISTRY.register(REGISTRY.COMPONENT,Extension("PDS Navigator","vega.hipe.pds.gui.PDSNavigator","factory.editor.variable","vega.hipe.pds.PDSImage"))
del(REGISTRY)
from sys import path
from java.io import File
from herschel.ia.gui.kernel.util import SiteFileUtil
from herschel.share.util import FileNameExtensionFilter

pluginsDir = SiteFileUtil.getSiteDirectory("plugins")
rspDir = File(pluginsDir, "pds/1.0")
for file in rspDir.listFiles(FileNameExtensionFilter("JAR files", ["jar"])):
    path.append(file.absolutePath)

del(path)
from vega.hipe.pds import PDSImage





